// [KeenSafe]
// Complete StrongBox for C++ Language
// Copyright 2014, @KeenSafe, All Right Reserved


enum kEncryptFlags
{
	kAES128 = 6666,
	kAES256 = 8888
};

struct kDbFileHeader
{
	//! @brief file signature.
	unsigned long signature1;
	unsigned long signature2;

	//! @brief encrypt algorithm.
	kEncryptFlags flags;
	//! @brief file type version.
	unsigned long version;
	//! @brief user data encrypt master key.
	unsigned char UserMasterKey[16];
	//! @brief encrypt round.
	int KeyEncryptRound;
	//! @brief group count.
	unsigned long groups;
	//! @brief file encrypt key.
	unsigned char FileKey[16];
	//! @brief content hash.file integrity.
	unsigned char ContentHash[32];
	//! @brief user data encrypt foreign key.
	unsigned char UserForeignKey[16];
	
};